<div id="filter">
	<div class="left">
		<p><%= page_entries_info @page_results, {:entry_name => "Item"} %></p>
	</div>
	<div class="right">
	<% # Changed form_for so that it didn't break if you clicked filter (just does nothing) %>
    <% form_tag(@first_render, :method => "get") do %>
      <%= collection_select(:item_types, :id, ItemType.find_all_by_hidden(false), :id, :item_type, {:include_blank => 'Type'}) %>
      <%= select_tag("status", options_for_select([['Status', ''], ['Waiting Pickup', 'initial_checkin'], ['In Transit', 'pick_up'], ['Delivered', 'drop_off']], @status)) %>
      <%= collection_select(:item_attributes, :id, ItemAttribute.find_all_by_hidden(false, :order => "item_attribute_set_id ASC"), :id, :display_text, {:include_blank => 'Attribute'}) %>
      <%= submit_tag("Filter") %>
    <% end %>
    <%= button_to("Clear", @first_render, :method => "get") %>
	</div>
</div>